package com.ershijin.resourceserver.config;

import com.ershijin.common.config.OpaqueTokenProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class PropertiesConfiguration {
    @Bean
    @ConfigurationProperties(prefix = "spring.security.oauth2.resourceserver.opaquetoken")
    public OpaqueTokenProperties opaqueTokenProperties() {
        return new OpaqueTokenProperties();
    }

}
